define(function(require, exports, module) {
  'use strict';

  var MyView = Backbone.View.extend({
    el: $('#mob-container'),
    initialize: function() {
      this.render();
    },
    render: function() {
      console.log('[DEBUG] Rendering My Page.');
      var h = [];
      h.push('<div class="mob-setting-container">');

      h.push('<ul>');
      h.push('<li class="mob-me-li">');
      h.push('<div class="mob-setting-list mob-setting-more">');
      h.push('<div class="mob-me-account">');
      h.push('<div class="mob-me-avatar"></div>');
      h.push('<div class="mob-me-account-detail">');
      h.push('<div class="mob-me-name-info">');
      h.push('<span class="mob-me-name">李勇</span><span class="mob-me-vip">会员用户</span>');
      h.push('</div>');
      h.push('<div class="mob-me-balance-text">');
      h.push('账户余额: <span class="mob-me-balance-value">0.00</span> 元');
      h.push('</div>');
      h.push('</div>');
      h.push('</div>');
      h.push('</div>');
      h.push('</li>');
      h.push('<li>');
      h.push('<div class="mob-me-trade">');
      h.push('<div class="mob-me-paid-member">开通会员</div>');
      h.push('<div class="mob-me-online-trade">在线交易</div>');
      h.push('</div>');
      h.push('</li>');
      h.push('</ul>');


      h.push('<ul>');
      h.push('<li>');
      h.push('<div class="mob-setting-list mob-setting-more mob-me-list mob-me-favorites"><span>我的收藏</span></div>');
      h.push('</li>');
      h.push('<li>');
      h.push('<div class="mob-setting-list mob-setting-more mob-me-list mob-me-application"><span>我的申请<span></div>');
      h.push('</li>');
      h.push('<li>');
      h.push('<div class="mob-setting-list mob-setting-more mob-me-list mob-me-apply"><span>向我申请<span></div>');
      h.push('</li>');
      h.push('<li>');
      h.push('<div class="mob-setting-list mob-setting-more mob-me-list mob-me-wait-comment"><span>等待评价<span></div>');
      h.push('</li>');
      h.push('<li>');
      h.push('<div class="mob-setting-list mob-setting-more mob-me-list mob-me-trade-history"><span>交易记录<span></div>');
      h.push('</li>');
      h.push('</ul>');

      h.push('<div class="mob-btn-container">');
      h.push('<div class="mob-btn mob-btn-logout">退出登录</div>');
      h.push('</div>');

      h.push('</div>');
      this.$el.append(h.join(''));
    }
  });

  return MyView;
});
